home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
H-I
/
iConcepts.cpt
/
iConcepts
/
background_2807.txt
< prev
next >
Wrap
Text File
|
1989-04-19
|
3KB
|
130 lines
-- background: 2807 from stack: in
-- bmap block id: 3238
-- flags: 4000
-- background id: 0
-- name:
----- HyperTalk script -----
on mouseUp
global theObj,theStack,theLayer
if word 1 to 2 of the target <> "card button" then exit mouseUp
put the short name of the target into theButton
if theStack = empty then
answer "You must click the camera button first."
exit mouseUp
end if
lock screen
select the target
doMenu "Copy Button"
push cd
put "go" && theLayer && theObj && "in stack" && quote & theStack & quote into travelPlan
do travelPlan
if theLayer is "Background" then type "B" with commandKey
doMenu "Paste Button"
choose browse tool
set cursor to hand
unlock screen
get the mouseClick
put "set loc of" && theLayer && "btn theButton to the mouseLoc" into stickyBtn
repeat until the mouseClick
do stickyBtn
end repeat
pop cd
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 2002
-- rect: left=6 top=212 right=237 bottom=31
-- title width / last selected line: 0
-- icon id / first selected line: 30666 / 30666
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: home
----- HyperTalk script -----
on mouseUp
visual iris close
go home
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 2002
-- rect: left=33 top=212 right=237 bottom=58
-- title width / last selected line: 0
-- icon id / first selected line: 277 / 277
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: pop
----- HyperTalk script -----
on mouseUp
visual iris close
pop card
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 2002
-- rect: left=60 top=212 right=237 bottom=85
-- title width / last selected line: 0
-- icon id / first selected line: 18503 / 18503
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: next
----- HyperTalk script -----
on mouseUp
visual dissolve
go next
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 2002
-- rect: left=165 top=212 right=237 bottom=190
-- title width / last selected line: 0
-- icon id / first selected line: 11828 / 11828
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: camera
----- HyperTalk script -----
on mouseUp
global theStack,theLayer,theObj
ask "Destination stack name…" with theStack
if it is empty then exit mouseUp
put it into theStack
answer "Destination layer in" && theStack & "…" with "card" or "background" or "Cancel"
if it is "Cancel" then exit mouseUp
put it into theLayer
ask "Destination" && theLayer && "number in" && theStack & "…" with "1"
if it is empty then exit mouseUp
put it into theObj
lock screen
set cursor to watch
push cd
put "go" && theLayer && theObj && "in stack" && quote & theStack & quote into travelPlan
do travelPlan
if the result <> empty then answer "No such" && theLayer & "."
set cursor to watch
pop cd
unlock screen
end mouseUp